package com.qyl.honghengshop.service.impl;

import java.util.Map;

import com.qyl.honghengshop.dao.OrderDao;
import com.qyl.honghengshop.dao.impl.OrderDaoImpl;
import com.qyl.honghengshop.dto.Order;
import com.qyl.honghengshop.service.OrderService;
import com.qyl.honghengshop.utils.PageBean;

public class OrderServiceImpl implements OrderService {

	private OrderDao orderDao = new OrderDaoImpl();
	
	@Override
	public int getRecordCount(Order order) {

		
		return orderDao.getRecordCount(order);
	}

	@Override
	public void orderList(PageBean pageBean, Order order) {

		orderDao.orderList(pageBean,order);
		
	}

	@Override
	public void saveOrder(Order order,Integer[] ids,Map<Integer, Integer> buyCard) {

		
		orderDao.saveOrder(order,ids,buyCard);
	}

}
